﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tema_pattern
{
    class Mini:Masina
    {
        string motorizare;
        string ampatament;
        string dotari;

        public Mini(string marca, string cul, string trans, string m, string a, string d):base(marca,cul,trans)
        {
            motorizare = m;
            ampatament = a;
            dotari = d;
        }
        public Mini() { }

        override public void print()
        {
            Console.WriteLine( this.marca + "\t" + this.culoare + "\t" + this.transmisie + "\t" + this.GetType().ToString().Split('.')[1] + "\t" + motorizare + "\t" + ampatament + "\t" + dotari);
        }
    }
    
}
